import {
  request
} from '../_utils/request';

function create(data) {
  return request('/api/comment', 'POST', data)
}

function getComments(getComments) {
  return request('/api/comment/objectId/' + getComments, 'GET')
}

module.exports = {
  create,
  getComments
};